package net.runman.service;

import net.runman.mapper.TLinksMapper;
import net.runman.model.TLinks;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class LinksService {

	@Autowired
	private TLinksMapper linksMapper;

	@Transactional
	public int saveLinks(TLinks links) {
		return linksMapper.insert(links);
	}
}
